home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000003_icon-group-sender _Mon Apr 27 08:10:50 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id IAA18221
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 27 Apr 1998 08:10:50 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA07008; Mon, 27 Apr 1998 08:10:47 -0700
From: Otfried Geffert <og@stardivision.de>
Date: Mon, 27 Apr 1998 08:51:20 GMT
Message-Id: <19980427.8512058@og-1042.stardiv.de>
Subject: Re: Using icon pipe features
To: Derek Paul Freeman-Jones <dpfj@globalnet.co.uk>
Cc: icon-group@optima.CS.Arizona.EDU
In-Reply-To: <353F9415.83BD5C5B@globalnet.co.uk>
References: <353F9415.83BD5C5B@globalnet.co.uk>
X-Mailer: Mozilla/3.0 (compatible; StarOffice/4.0; WinNT/Win95)
X-Priority: 3 (Normal)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 966
As I think a _pipe_ is a unidirectional thing.
So I think you can't open it for reading and writing from the
same process.
For a similar problem I used:
- opened the real file for reading
- wrote the processed file to a temporary file
- renamed the temporary file to the real filename
Sorry, I see this is not what you wanted.
Otfried
>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<
Derek Paul Freeman-Jones <dpfj@globalnet.co.uk> on Using icon pipe=20
features:
> icon-group,
>=20
> I need to extend the functionality of the procedure 'open' when=20
running
> a process eg.
>=20
> pipe_in :=3D open ( "/usr/bin/ls", "p" )
>=20
> at present the process can only be opened for reading OR writing. Has=
> anyone done any development work on enabling the process to be BOTH
> written to and read from?
>=20
> I don't if I have to write a new procedure to plug in to Icon 'popen'=
> for example.
>=20
> Many thanks in advance.
>=20
>=20
> Derek Freeman-Jones
>=20
>=20